<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <meta
      name="description"
      content="汇融名企是面向全国商家服务的大型互联网平台，为商家提供流量扶持，引导品牌曝光；为消费者提供风云榜单，招商加盟，引导实现消费，达成合作，上汇融名企实现共赢。"
    />
    <link rel="stylesheet" href="./css/common.css" />
    <link rel="stylesheet" href="./css/carousel.css" />
    <link rel="stylesheet" href="./css/place-investment.css" />
    <title>广告位招商-汇融名企</title>
  </head>
  <body>
    <!-- <div id="header-page"></div> -->
    <!--#include virtual="/header.html" -->
    <!-- 顶部图 -->
    <div class="place-top"></div>
    <div class="place-content">
      <!-- 标题 -->
      <div class="content-top">
        <img src="./image/picture/place_title01.png" alt="广告名称标题-汇融名企" />
      </div>
      <!-- 轮播背景图 -->
      <div class="content-bottom"></div>
      <div class="place-carousel-bg">
        <!-- 翻页按钮 -->
        <div class="change-page">
          <img class="next-page" src="./image/picture/place_next.png" alt="广告位招商-汇融名企" />
          <img class="prev-page" src="./image/picture/place_prev.png" alt="广告位招商-汇融名企" />
        </div>
        <!-- 广告位轮播图 -->
        <div class="top-carousel">
          <div class="pb-carouselWarp carousel carousel-banner">
            <ul class="pb-carousel pb-carousel-big" id="banner-1"></ul>
            <ul
              class="pb-carousel-ind pb-carousel-ind-big"
              id="banner-1-point"
            ></ul>
          </div>
        </div>
        <div class="place-banner">
          <div class="place-banner-one">
            <div class="place-top-carousel">
              <div class="place-carouselWarp carousel carousel-banner">
                <dl class="pb-carousel place-carousel" id="banner-2"></dl>
                <dl
                  class="pb-carousel-ind place-carousel-ind"
                  id="banner-2-point"
                ></dl>
              </div>
            </div>
          </div>
          <div class="place-banner-two">
            <div class="place-top-carousel">
              <div class="place-carouselWarp carousel carousel-banner">
                <dl class="pb-carousel place-carousel" id="banner-2"></dl>
                <dl
                  class="pb-carousel-ind place-carousel-ind"
                  id="banner-2-point"
                ></dl>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
    <!-- 联系我们 -->
    <div class="place-bottom">
      <div class="place-bottom-01">
        <img src="./image/picture/place_title02.png" alt="联系我们-汇融名企" />
      </div>
      <div class="place-bottom-02">
        <div class="wrapper">
          <img class="img-one" src="./image/picture/place_mac.png" alt="联系我们-汇融名企" />
          <ul>
            <li>
              <img src="./image/picture/place_icon01.png" alt="QQ-汇融名企" />
              <p>QQ</p>
              <span>811073540</span>
            </li>
            <li>
              <img src="./image/picture/place_icon02.png" alt="邮箱-汇融名企" />
              <p>邮箱</p>
              <span>811073540@qq.com</span>
            </li>
            <li>
              <img src="./image/picture/place_icon03.png" alt="电话-汇融名企" />
              <p>电话</p>
              <span>400-058-0357</span>
            </li>
          </ul>
        </div>
      </div>
    </div>
    <!--#include virtual="/footer.html" -->
    <!-- <div id="footer-page"></div> -->
    <script src="./js/jquery-1.11.0.min.js"></script>
    <script src="./js/utils.js"></script>
    <script src="./js/api.js"></script>
    <script src="./js/inverstImages.js"></script>
    <script
      src="./js/carousel.min.1.js"
      type="text/javascript"
      charset="utf-8"
    ></script>
    <script type="text/javascript">
      $(function () {
        // $('#header-page').load('header.html')
        // $('#footer-page').load('footer.html')
        initadTopCarousel(homeBannerImg, $('.top-carousel'))
        initadCarousel(
          homeBannerImg[0].content,
          $('.place-banner-one .place-top-carousel')
        )
        $('#banner-big-1').hover(function () {
          onAdone()
        })
        $('#banner-big-2').hover(function () {
          onAdtwo()
        })
        $('.next-page').click(function () {
          $(this).hide()
          $('.prev-page').show()
          $('#banner-1-point li').removeClass('pb-this')
          $('#banner-big-2').addClass('pb-this')
          onAdtwo()
        })
        $('.prev-page').click(function () {
          $(this).hide()
          $('.next-page').show()
          $('#banner-1-point li').removeClass('pb-this')
          $('#banner-big-1').addClass('pb-this')
          onAdone()
        })
        $('#banner-big-2').mouseover(function () {
          $('.next-page').hide()
          $('.prev-page').show()
        })
        $('#banner-big-1').mouseover(function () {
          $('.prev-page').hide()
          $('.next-page').show()
        })
      })
      function onAdone() {
        $('.place-banner-one').show()
        $('.place-banner-two').hide()
        $('.place-carousel').find('dt').remove()
        $('.place-carousel-ind').find('dt').remove()
        initadCarousel(
          homeBannerImg[0].content,
          $('.place-banner-one .place-top-carousel')
        )
      }
      function onAdtwo() {
        $('.place-banner-one').hide()
        $('.place-banner-two').show()
        $('.place-carousel').find('dt').remove()
        $('.place-carousel-ind').find('dt').remove()
        initadCarousel(
          homeBannerImg[1].content,
          $('.place-banner-two .place-top-carousel')
        )
      }
      //生成外层横向轮播图
      function initadTopCarousel(carouselData, parent) {
        var carouselLi = ''
        var carouselPointLi = ''
        if (carouselData) {
          for (var index in carouselData) {
            carouselLi += initadtopCarouselLi(
              carouselData[index].content,
              index
            )
            if (carouselData.length > 1) {
              carouselPointLi +=
                '<li ' +
                (+index === 0 ? 'class="pb-this"' : '') +
                'id="banner-big-' +
                (+index + 1) +
                '">' +
                (+index + 1) +
                '</li>'
            }
          }
          parent.find('#banner-1').append(carouselLi)
          parent.find('#banner-1-point').append(carouselPointLi)
          parent.find('.pb-arrow').remove()
          if (carouselData.length > 1) {
            carousel(
              parent.find('.carousel'), //必选， 要轮播模块(id/class/tagname均可)，必须为jQuery元素
              {
                type: 'leftright', //可选，默认左右(leftright) - 'leftright' / 'updown' / 'fade' (左右/上下/渐隐渐现)
                arrowtype: 'move', //可选，默认一直显示 - 'move' / 'none'	(鼠标移上显示 / 不显示 )
                autoplay: false, //可选，默认true - true / false (开启轮播/关闭轮播)
                time: 5000, //可选，默认3000
              }
            )
          }
        }
      }
      //生成顶部轮播图liDOM
      function initadtopCarouselLi(data, index) {
        return (
          '<li  ' +
          (index == 0 ? 'class="pb-this"' : '') +
          'style="left:0">' +
          '<div class="place-top-carousel">' +
          '          <div class="place-carouselWarp carousel carousel-banner">' +
          '            <dl class="pb-carousel place-carousel" id="banner-2"></dl>' +
          '            <dl' +
          '              class="pb-carousel-ind place-carousel-ind"' +
          '              id="banner-2-point"' +
          '            ></dl>' +
          '          </div>' +
          '        </div>' +
          '</li>'
        )
      }
      // 生成内层纵向轮播图
      function initadCarousel(carouselData, parent) {
        var carouselLi = ''
        var carouselPointLi = ''
        if (carouselData) {
          for (var index in carouselData) {
            carouselLi += initadCarouselLi(carouselData[index], index)
            if (carouselData.length > 1) {
              carouselPointLi +=
                '<dt ' +
                (+index === 0 ? 'class="pb-this"' : '') +
                '><hr/>' +
                carouselData[index].title +
                '</dt>'
            }
          }
          parent.find('#banner-2').append(carouselLi)
          parent.find('#banner-2-point').append(carouselPointLi)
          parent.find('.pb-arrow').remove()
          if (carouselData.length > 1) {
            carousel(
              parent.find('.carousel'), //必选， 要轮播模块(id/class/tagname均可)，必须为jQuery元素
              {
                type: 'updown', //可选，默认左右(leftright) - 'leftright' / 'updown' / 'fade' (左右/上下/渐隐渐现)
                arrowtype: 'move', //可选，默认一直显示 - 'move' / 'none'	(鼠标移上显示 / 不显示 )
                autoplay: true, //可选，默认true - true / false (开启轮播/关闭轮播)
                time: 5000, //可选，默认3000
              }
            )
          }
        }
      }
      // 生成内层纵向轮播图子集
      function initadCarouselLi(data, index) {
        return (
          '   <dt  ' +
          (index == 0 ? 'class="pb-this"' : '') +
          '     >' +
          '       <div class="banner-a">' +
          '         <img class="top-img"' +
          '           src="./image/picture/place_img01.png"data-adaptive-background="1"' +
          index +
          '           "' +
          '          alt="广告位招商-汇融名企" />' +
          '         <div class="place-text"><h1>' +
          data.title +
          '           </h1><hr/>' +
          '            <p>数量：' +
          data.number +
          '             <span>尺寸：' +
          data.size +
          '             （像素）</span></p></div>' +
          '           <img' +
          '             src="' +
          data.picture +
          '             "data-adaptive-background="1"' +
          index +
          '             "' +
          '           alt="广告位招商-汇融名企" /></div>' +
          '       </div>' +
          '    </dt>'
        )
      }
    </script>
  </body>
</html>
